home *** CD-ROM | disk | FTP | other *** search
/ Skunkware 5 / Skunkware 5.iso / man / cat.1 / merge.1 < prev    next >
Text File  |  1995-07-25  |  2KB  |  67 lines

  1.  
  2.  
  3.  
  4. MERGE(1)                                                 MERGE(1)
  5.  
  6.  
  7. NNAAMMEE
  8.        merge - three-way file merge
  9.  
  10. SSYYNNOOPPSSIISS
  11.        mmeerrggee  [  --LL  _l_a_b_e_l_1  [  --LL _l_a_b_e_l_3 ] ] [ --pp ] [ --qq ] _f_i_l_e_1
  12.        _f_i_l_e_2 _f_i_l_e_3
  13.  
  14. DDEESSCCRRIIPPTTIIOONN
  15.        mmeerrggee incorporates all changes that  lead  from  _f_i_l_e_2  to
  16.        _f_i_l_e_3  into  _f_i_l_e_1.  The result goes to standard output if
  17.        --pp is present, into _f_i_l_e_1 otherwise.  mmeerrggee is useful  for
  18.        combining  separate changes to an original.  Suppose _f_i_l_e_2
  19.        is the original, and both _f_i_l_e_1 and  _f_i_l_e_3  are  modifica-
  20.        tions of _f_i_l_e_2.  Then mmeerrggee combines both changes.
  21.  
  22.        An  overlap occurs if both _f_i_l_e_1 and _f_i_l_e_3 have changes in
  23.        a common segment of lines.  On a  few  older  hosts  where
  24.        ddiiffff33  does  not  support  the  --EE  option, mmeerrggee does not
  25.        detect overlaps, and merely  supplies  the  changed  lines
  26.        from  _f_i_l_e_3_.  On most hosts, if overlaps occur, mmeerrggee out-
  27.        puts a message  (unless  the  --qq  option  is  given),  and
  28.        includes  both  alternatives  in the result.  The alterna-
  29.        tives are delimited as follows:
  30.  
  31.               <<<<<<<<<<<<<< _f_i_l_e_1
  32.               _l_i_n_e_s _i_n _f_i_l_e_1
  33.               ==============
  34.               _l_i_n_e_s _i_n _f_i_l_e_3
  35.               >>>>>>>>>>>>>> _f_i_l_e_3
  36.  
  37.        If there are overlaps, the user should edit the result and
  38.        delete  one  of  the  alternatives.   If the --LL _l_a_b_e_l_1 and
  39.        --LL _l_a_b_e_l_3 options are given,  the  labels  are  output  in
  40.        place of the names _f_i_l_e_1 and _f_i_l_e_3 in overlap reports.
  41.  
  42. DDIIAAGGNNOOSSTTIICCSS
  43.        Exit  status  is 0 for no overlaps, 1 for some overlaps, 2
  44.        for trouble.
  45.  
  46. IIDDEENNTTIIFFIICCAATTIIOONN
  47.        Author: Walter F. Tichy.
  48.        Revision Number: 5.3; Release Date: 1991/02/28.
  49.        Copyright (C) 1982, 1988, 1989 by Walter F. Tichy.
  50.        Copyright (C) 1990, 1991 by Paul Eggert.
  51.  
  52. SSEEEE AALLSSOO
  53.        diff3(1), diff(1), rcsmerge(1), co(1).
  54.  
  55.  
  56.  
  57.  
  58.  
  59.  
  60.  
  61.  
  62.  
  63.  
  64. GNU                         1991/02/28                          1
  65.  
  66.  
  67.